#-------------------------------------------------
#
# Project created by QtCreator 2015-05-18T13:05:26
#
#-------------------------------------------------

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Director
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp \
    controlwidget.cpp \
    mainorderwidget.cpp \
    mainpreentrustwidget.cpp \
    mainconditionwidget.cpp \
    maincombineentrustwidget.cpp \
    marketselfwidget.cpp \
    marketcomexch.cpp \
    popmktcombineexch.cpp \
    mainbalancewidget.cpp \
    mainholdwidget.cpp \
    mainentrustqueryhiswidget.cpp \
    mainbusinessqueryhiswidget.cpp \
    maincontractwidget.cpp \
    mainaverageentrustwidget.cpp \
    selfmarketdialog.cpp \
    popmktcombineexchdialog.cpp \
    mainpopdialog.cpp \
    combineexchdialog.cpp \
    defaultorderdialog.cpp \
    quickorderdialog.cpp \
    combineorderdialog.cpp \
    tableview.cpp \
    CommUtil/comfunc.cpp \
    Login/accountitem.cpp \
    Login/dropshadowwidget.cpp \
    Login/logindlg.cpp \
    Login/msgbox.cpp \
    Login/pushbutton.cpp \
    Login/utilskin.cpp \
    conditiondialog.cpp \
    combinecontroldialog.cpp \
    ctradebymarketdata.cpp \
    UFX/mdUFX.cpp \
    UFX/traderUFX.cpp \
    UFX/analyStr.cpp \
    UFX/tool.cpp \
    ordersetterdlg.cpp \
    changeorderdlg.cpp \
    fastorderdlg.cpp \
    ordercntdlg.cpp \
    ordertimesdlg.cpp \
    ufxconfig.cpp \
    dragtabwidget.cpp \
    mydocktitlebar.cpp \
    mytabbar.cpp

HEADERS  += mainwindow.h \
    controlwidget.h \
    mainorderwidget.h \
    mainpreentrustwidget.h \
    mainconditionwidget.h \
    maincombineentrustwidget.h \
    marketselfwidget.h \
    marketcomexch.h \
    popmktcombineexch.h \
    mainbalancewidget.h \
    mainholdwidget.h \
    mainentrustqueryhiswidget.h \
    mainbusinessqueryhiswidget.h \
    maincontractwidget.h \
    mainaverageentrustwidget.h \
    selfmarketdialog.h \
    popmktcombineexchdialog.h \
    mainpopdialog.h \
    combineexchdialog.h \
    defaultorderdialog.h \
    quickorderdialog.h \
    combineorderdialog.h \
    tableview.h \
    CommUtil/comfunc.h \
    CommUtil/common.h \
    Login/accountitem.h \
    Login/dropshadowwidget.h \
    Login/logindlg.h \
    Login/msgbox.h \
    Login/pushbutton.h \
    Login/utilskin.h \
    conditiondialog.h \
    combinecontroldialog.h \
    ctradebymarketdata.h \
    UFX/mdUFX.h \
    UFX/traderUFX.h \
    UFX/data_def.h \
    UFX/t2sdk_interface.h \
    UFX/analyStr.h \
    UFX/tool.h \
    ordersetterdlg.h \
    changeorderdlg.h \
    fastorderdlg.h \
    ordercntdlg.h \
    ordertimesdlg.h \
    ufxconfig.h \
    dragtabwidget.h \
    mydocktitlebar.h \
    mytabbar.h

LIBS += -L$$PWD/ t2sdk.lib
LIBS += Iphlpapi.lib
LIBS += Ws2_32.lib

FORMS    += \
    mainwindow.ui \
    selfmarketdialog.ui \
    popmktcombineexchdialog.ui \
    mainpopdialog.ui \
    combineexchdialog.ui \
    defaultorderdialog.ui \
    quickorderdialog.ui \
    combineorderdialog.ui \
    ConditionDialog.ui \
    CombineControlDlg.ui \
    ordersetterdlg.ui \
    changeorderdlg.ui \
    fastorderdlg.ui \
    ordercntdlg.ui \
    ordertimesdlg.ui

RC_FILE = cofco.rc

RESOURCES += \
    ctptrader.qrc

OTHER_FILES += \
    Resources/CtpTrader.qss
